One registry. Progressive tested packs. A source that keeps every edition aligned.
285registry entries
20families
19tested packs
225examples and solutions
Local and downloadable. No API keys, network calls or automatic execution of pasted code. Version 0.11.0, 2026-10-26.
Tested learning pack
Perl Foundations
Core values, control flow, functions, collections, text, regular expressions, temporary files, expected errors, JSON, local modules and tests. No external data, packages or deployment.
Learners comfortable saving a source file and running an installed interpreter. Allow 4 to 6 hours.
Pack status: tested. Test details apply only to the included examples. Full language or format coverage remains future work.
Runtime and practice instructions
Perl 5.34.1 is installed; no other Perl version or platform was tested. Run /usr/bin/perl followed by the quoted entry filename in a new practice folder. Save companions beside the entry file. Core libraries only; no package manager is used. The browser exports text and never executes it. Syntax checks are distinct from runtime tests and are not arbitrary-code sandboxes.
Configuration: Run instructions.txt
Perl 5.34.1 is installed; no other Perl version or platform was tested. Run /usr/bin/perl followed by the quoted entry filename in a new practice folder. Save companions beside the entry file. Core libraries only; no package manager is used. The browser exports text and never executes it. Syntax checks are distinct from runtime tests and are not arbitrary-code sandboxes.
1. Pin the installed interpreter
This pack uses Perl 5.34.1 on macOS arm64 and already installed core modules. It uses Perl 5 lexical variables and ordinary subroutines, not Raku or later experimental features. Run /usr/bin/perl followed by the quoted .pl filename. No CPAN or package installation is needed.
2. Context affects values
Scalar and list context are central to Perl. An array in scalar context yields its count. Use eq for textual equality and == for numeric equality. Scalars can be interpreted as text or numbers, so this pack validates a decimal representation rather than claiming a strict historical type distinction.
3. Truth and absence
The string "0" is false in ordinary boolean context. Use defined when zero is a valid result. Defined-or // provides a fallback only for undef, unlike ||. Add strict and warnings to expose common mistakes; neither is a sandbox or complete input validator.
4. Functions and bounded control
Subroutines receive arguments in @_. Copy the values into lexical variables to avoid accidental alias writes. A for loop and next make filtering explicit; ensure while conditions progress. Range and count limits keep every exercise small and deterministic.
5. References and data structures
Array and hash references represent nested collections. An outer copy still shares nested references. The row-copy exercise duplicates exactly one known depth. Sort hash keys for deterministic reports; do not rely on hash iteration order.
6. Text, regex and encoding
use utf8 describes the source text, not an I/O handle. File encoding is explicit with :encoding(UTF-8). Quote literal regex content with \Q...\E and anchor whole strings with \A/\z. No dynamic regex code, shell interpolation or string eval is used.
7. Files, modules and errors
Use three-argument open, lexical handles, checked I/O results and newly created File::Temp directories. Cleanup is verified after normal process exit, not guaranteed after a crash. A module is executable trusted code; use lib adds only the companion directory. eval BLOCK catches expected exceptions; preserve $@ before another operation can change it.
8. Testing is runtime evidence
perl -c checks syntax but may execute BEGIN/CHECK blocks and use statements. It is not a safe way to inspect arbitrary code. Our invalid fixtures contain no custom compile-time blocks; the strict fixture loads only the trusted core strict pragma. Test::More executes four named runtime cases; JSON::PP parsing and custom shape checks do not establish JSON Schema validity.
Quick reference
Scope
use strict; use warnings; my
Lexical declarations and diagnostics.
Values
$scalar / @array / %hash
One value, ordered list, key/value mapping.
Context
scalar(@array)
Array length rather than its elements.
Comparison
eq / ==
Text equality versus numeric equality.
Truth
defined($value)
Preserve zero when testing for presence.
Flow
for / while / next
Bounded iteration and skipping.
Subroutines
sub / my ($value) = @_
Copy arguments into local variables.
References
[] / {} / -> / @$ref
Construct and access nested structures.
Defaults
//
Use fallback only when left side is undefined.
Patterns
\A / \z / \Q...\E
Whole-string boundaries and literal pattern quoting.
Encoding
use utf8 / :encoding(UTF-8)
Source encoding and file encoding are distinct.
Files
open my $fh, mode, path
Three-argument open separates mode and toy path.
Temporary
File::Temp::tempdir(..., CLEANUP => 1)
New directory; cleanup at normal exit.
Errors
eval { ...; 1 } / $@
Block exception handling; save error immediately.
Modules
package / use lib / use Module
Trusted code loading and namespacing.
Tests
Test::More is / ok
Executed assertions with named TAP output.
Examples and exercises
Examples are shown as text. Export files and use the stated runtime or interpreter separately to practice. Module and multi-file examples require their companion files. C and C++ examples need the named compiler and standard mode. TypeScript also needs its exported configuration files and separate static checking before JavaScript execution. SQL files use the SQLite CLI with a fresh :memory: database; shell files name their interpreter and may retain new toy folders for inspection. Try exercises A, B and C before expanding their solutions.
Perl 01 - Scalars and context
A scalar holds one value; an array holds a list. An array in scalar context yields its length. In ordinary boolean context undef, numeric zero, the empty string and the string "0" are false. This differs from Ruby. strict and warnings help expose mistakes; they are not security controls.
Expected stdout:
Ada: 3 sessions
List: 10, 20, 30
Zero text is false
Empty text is false
Test record: passed; Perl 5.34.1; 2026-10-25. macOS 27.0.1 (arm64); Darwin 27.0.0
use strict;
use warnings;
my $name = 'Ada';
my @minutes = (10, 20, 30);
my $count = @minutes;
print "$name: $count sessions\n";
print 'List: ', join(', ', @minutes), "\n";
print 'Zero text is ', ('0' ? 'true' : 'false'), "\n";
print 'Empty text is ', ('' ? 'true' : 'false'), "\n";
Perl 02 - Bounded control flow
Use braces around blocks, lexically scoped my variables, and a loop condition that progresses toward stopping. next skips the current iteration. These loops have fixed small bounds.
Expected stdout:
Even total: 6
Remaining: 0
Test record: passed; Perl 5.34.1; 2026-10-25. macOS 27.0.1 (arm64); Darwin 27.0.0
use strict;
use warnings;
my $total = 0;
for my $value (1 .. 4) {
next if $value % 2;
$total += $value;
}
print "Even total: $total\n";
my $remaining = 3;
while ($remaining > 0) { $remaining--; }
print "Remaining: $remaining\n";
Perl 03 - Subroutines and validation
Copy arguments from @_ into lexical variables. This contract validates a scalar decimal representation and accepts numeric 20 or text "20"; it does not distinguish their historical origin. eval BLOCK catches an exception; the final 1 marks success independently of a false result. It is not string eval.
Expected stdout:
Double: 40
Negative rejected
Test record: passed; Perl 5.34.1; 2026-10-25. macOS 27.0.1 (arm64); Darwin 27.0.0
use strict;
use warnings;
sub double_minutes {
my ($value) = @_;
die "invalid minutes\n" unless defined($value) && !ref($value) &&
$value =~ /\A(?:0|[1-9][0-9]{0,2})\z/ && $value <= 120;
return $value * 2;
}
print 'Double: ', double_minutes(20), "\n";
my $ok = eval { double_minutes(-1); 1 };
my $error = $@;
print "Negative rejected\n" if !$ok && $error eq "invalid minutes\n";
Perl 04 - Hashes and references
References permit nested structures. Dereference each array row explicitly. A hash does not promise report order, so sort keys. Defined-or // falls back for undef while preserving a defined zero.
Expected stdout:
code: 30
read: 30
Rows: 3
Test record: passed; Perl 5.34.1; 2026-10-25. macOS 27.0.1 (arm64); Darwin 27.0.0
use strict;
use warnings;
my @sessions = (['read', 20], ['code', 30], ['read', 10]);
my %totals;
for my $row (@sessions) {
my ($topic, $minutes) = @$row;
$totals{$topic} = ($totals{$topic} // 0) + $minutes;
}
for my $topic (sort keys %totals) { print "$topic: $totals{$topic}\n"; }
print 'Rows: ', scalar(@sessions), "\n";
Perl 05 - Literal regex and Unicode
use utf8 declares source encoding; it does not configure file handles. This decoded string length counts characters, not grapheme clusters. \Q...\E quotes literal pattern content; \A and \z anchor the entire string. No untrusted regex or executable regex code is accepted.
Expected stdout:
Characters: 4
Literal match: yes
Different text: no
Trailing newline: rejected
Test record: passed; Perl 5.34.1; 2026-10-25. macOS 27.0.1 (arm64); Darwin 27.0.0
A new File::Temp directory is created under the practice folder and removed at normal process exit. Three-argument open separates the fixed mode from the filename; lexical handles and checked close expose failures. UTF-8 layers apply at I/O. Cleanup after abrupt termination is not guaranteed; only authored toy paths are used.
Expected stdout:
Characters including newline: 5
Cleanup scheduled for normal process exit
Test record: passed; Perl 5.34.1; 2026-10-25. macOS 27.0.1 (arm64); Darwin 27.0.0
use strict;
use warnings;
use utf8;
use File::Temp qw(tempdir);
use File::Spec;
my $dir = tempdir('atlas-perl-XXXXXX', DIR => '.', CLEANUP => 1);
my $path = File::Spec->catfile($dir, 'note.txt');
open my $out, '>:encoding(UTF-8)', $path or die "open write: $!";
print {$out} "café\n" or die "write: $!";
close $out or die "close write: $!";
open my $in, '<:encoding(UTF-8)', $path or die "open read: $!";
my $text = do { local $/; <$in> };
close $in or die "close read: $!";
print 'Characters including newline: ', length($text), "\n";
print "Cleanup scheduled for normal process exit\n";
Perl 07 - Defined results and error recovery
Use defined when zero is a valid result. The explicit policy rejects signs, spaces, leading zeroes, references and values over 120. Numeric conversion alone can warn yet still produce a partial result; validate the full small representation first.
Expected stdout:
20
0
invalid
invalid
invalid
invalid
Test record: passed; Perl 5.34.1; 2026-10-25. macOS 27.0.1 (arm64); Darwin 27.0.0
use strict;
use warnings;
sub minutes {
my ($text) = @_;
return undef unless defined($text) && !ref($text) &&
$text =~ /\A(?:0|[1-9][0-9]{0,2})\z/ && $text <= 120;
return 0 + $text;
}
for my $text ('20', '0', '121', ' 20', '+20', '20x') {
my $value = minutes($text);
print defined($value) ? "$value\n" : "invalid\n";
}
Perl 08 - A local module
Save AtlasMinutes.pm beside the entry file. FindBin locates that directory; use lib adds this trusted practice directory. The package namespaces its routine and ends with a true value. Loading a Perl module executes code, so do not add an untrusted directory to the module path.
Expected stdout:
Total: 50
Test record: passed; Perl 5.34.1; 2026-10-25. macOS 27.0.1 (arm64); Darwin 27.0.0
use strict;
use warnings;
use FindBin qw($Bin);
use lib $Bin;
use AtlasMinutes;
print 'Total: ', AtlasMinutes::total([20, 30]), "\n";
Companion: AtlasMinutes.pm
package AtlasMinutes;
use strict;
use warnings;
sub total {
my ($values) = @_;
die "array required\n" unless ref($values) eq 'ARRAY' && @$values <= 10;
my $total = 0;
for my $value (@$values) {
die "invalid minutes\n" unless defined($value) && !ref($value) &&
$value =~ /\A(?:0|[1-9][0-9]{0,2})\z/ && $value <= 120;
$total += $value;
}
return $total;
}
1;
Perl 09 - JSON and shape checks
JSON::PP is already installed. canonical makes object-key output deterministic. The contract checks scalar representations; it does not preserve or certify the JSON distinction between a number and numeric text. Duplicate-name rejection and general schema validation are not implemented. Use tiny authored data, never string eval.
Expected stdout:
read: 20
Malformed JSON rejected
Test record: passed; Perl 5.34.1; 2026-10-25. macOS 27.0.1 (arm64); Darwin 27.0.0
use strict;
use warnings;
use JSON::PP;
my $json = JSON::PP->new->canonical->max_depth(10);
my $encoded = $json->encode({topic => 'read', minutes => 20});
my $data = $json->decode($encoded);
die "wrong contract\n" unless ref($data) eq 'HASH' &&
join(',', sort keys %$data) eq 'minutes,topic' &&
!ref($data->{topic}) && defined($data->{topic}) &&
!ref($data->{minutes}) && defined($data->{minutes}) &&
$data->{minutes} =~ /\A(?:0|[1-9][0-9]{0,2})\z/ && $data->{minutes} <= 120;
print "$data->{topic}: $data->{minutes}\n";
my $ok = eval { $json->decode('{'); 1 };
print "Malformed JSON rejected\n" unless $ok;
Perl exercise A - An optional average
Try it first: Average at most ten minute values in 0..120. Reject invalid inputs and return undef for an empty array.
An array reference keeps the input as one argument. The bounded contract accepts integer decimal representations. Return undef for an empty collection and check defined before using the result.
Expected stdout:
Average: 15.0
Empty: absent
Test record: passed; Perl 5.34.1; 2026-10-25. macOS 27.0.1 (arm64); Darwin 27.0.0
use strict;
use warnings;
sub average {
my ($values) = @_;
die "array required\n" unless ref($values) eq 'ARRAY' && @$values <= 10;
return undef unless @$values;
my $total = 0;
for my $n (@$values) {
die "invalid minutes\n" unless defined($n) && !ref($n) &&
$n =~ /\A(?:0|[1-9][0-9]{0,2})\z/ && $n <= 120;
$total += $n;
}
return $total / @$values;
}
printf "Average: %.1f\n", average([10, 20]);
print 'Empty: ', (defined(average([])) ? 'value' : 'absent'), "\n";
Perl exercise B - Copy one level deliberately
Try it first: Predict aliasing, then duplicate each row so assigning a numeric cell no longer changes the original.
The first copy duplicates the outer array but shares row references. The second duplicates each row for this structure. Deeper references would still be shared; it is not a general recursive clone.
Expected stdout:
After shallow edit: 30
After row edit: 30
Separate row: 40
Test record: passed; Perl 5.34.1; 2026-10-25. macOS 27.0.1 (arm64); Darwin 27.0.0
use strict;
use warnings;
my $original = [['read', 20]];
my $shallow = [@$original];
$shallow->[0][1] = 30;
print "After shallow edit: $original->[0][1]\n";
my $rows = [map { [@$_] } @$original];
$rows->[0][1] = 40;
print "After row edit: $original->[0][1]\n";
print "Separate row: $rows->[0][1]\n";
Perl exercise C - Four real test cases
Try it first: Write four named tests for zero, ordinary input, the upper bound and a rejected negative value.
Installed core Test::More emits a plan and named TAP results. The four cases execute at runtime; perl -c does not run the test assertions. An unexpected failure produces a nonzero exit status.
Expected stdout:
1..4
ok 1 - zero
ok 2 - normal
ok 3 - upper boundary
ok 4 - negative rejected
Test record: passed; Perl 5.34.1; 2026-10-25. macOS 27.0.1 (arm64); Darwin 27.0.0
use strict;
use warnings;
use Test::More tests => 4;
sub double_minutes {
my ($n) = @_;
die "invalid minutes\n" unless defined($n) && !ref($n) &&
$n =~ /\A(?:0|[1-9][0-9]{0,2})\z/ && $n <= 120;
return $n * 2;
}
is(double_minutes(0), 0, 'zero');
is(double_minutes(20), 40, 'normal');
is(double_minutes(120), 240, 'upper boundary');
my $ok = eval { double_minutes(-1); 1 };
ok(!$ok && $@ eq "invalid minutes\n", 'negative rejected');
Expected syntax rejections
These invalid fixtures test diagnostic behavior. They are separate from the successful runtime examples and are not counted as accepted programs.
Expected rejection: Perl 01 - Scalars and context
Deliberately invalid source, never executed. Observed diagnostic category on the stated interpreter syntax checker: Global symbol.
use strict; print $missing;
Expected rejection: Perl 02 - Bounded control flow
Deliberately invalid source, never executed. Observed diagnostic category on the stated interpreter syntax checker: syntax error.
my $x = ;
Expected rejection: Perl 03 - Subroutines and validation
Deliberately invalid source, never executed. Observed diagnostic category on the stated interpreter syntax checker: declare constant item.
my (3) = (1);
Expected rejection: Perl 04 - Hashes and references
Deliberately invalid source, never executed. Observed diagnostic category on the stated interpreter syntax checker: syntax error.
my $x = [1, 2;
Prompt workbench
Build, edit and export a prompt. It stays on this device until you choose to copy it elsewhere. No AI service is called.
Portable presets
Save up to 20 presets. Import accepts only this version's bounded JSON schema (64 KiB maximum), replaces the session collection and never runs code. Export before importing if you want to preserve the current set.
Optional browser storage
Nothing is stored automatically. localStorage for local files varies by browser, may be blocked or cleared, and is not encrypted. Do not store secrets. Export JSON for a durable copy.
Coverage and next steps
All current editions are generated from one versioned JSON model. The shared renderer creates each individual pack and the combined edition from the same pack records. Planned records carry empty source lists and null verification dates rather than invented evidence. 'Tested' applies to a pack's recorded examples, not an entire language. Frameworks and runtimes are overlays. A dialect is counted as a named scope, not as a claim of an independent language.
planned: Named scope only; source and runtime research pending.
sourced: Relevant official sources verified.
drafted: Original pack authored; checks pending.
tested: Documented examples passed the recorded tests.
reviewed: Functional, accessibility and content review completed for defined scope.
released: Versioned downloadable edition published to the agreed local or Library destination.
Further packs follow actual need. All current packs retain introductory scope; 257 registry entries remain planned. Before each pack: verify official sources, choose versions and operating systems, author original examples, test expected outputs and review accessibility and risk.
Intended future homes
Library: Canonical learning catalogue and packs (intent.purposed.in).
DeployCloud: Deployment guides; target not yet resolved.
ONE: Optional AI assistance; target not yet resolved.
Local and downloadable. Website publication is outside this authoring release. Library save identities and versions are recorded in separate delivery receipts.
Limits: one browser and operating system were tested. An independent agent audited the content. No screen-reader session, formal accessibility certification or outside human review is claimed. Planned entries still need official-source research. No Treasure workbench artifact was present in this isolated workspace; no private corpus was used.
Official sources checked
Original explanations and examples; no documentation mirror. URLs are plain text so this offline edition does not open remote pages by itself.
GNU web manual retrieval timed out and the Open Group full shell specification returned HTTP 403. Shell explanations were verified against installed official manuals, accessible Zsh documentation and actual runtime behavior. POSIX-style denotes the deliberately conservative syntax subset, not certification or a complete standards audit. Zsh web documentation describes 5.9.2; execution used installed 5.9. TypeScript 6.0.3 was located in an existing installed package and is invoked directly; no package manager is used. Its static checks and Node 24.18.0 runtime evidence are separate. Data examples use unsupported CPython 3.9.6. Python 3.9 online documentation describes 3.9.25. TOML uses installed pip-vendored Tomli 1.0.3, a private environment-specific API. The upstream tagged Tomli source page could not be retrieved; version is local metadata, behavior is actual execution, and syntax claims use the TOML 1.0 specification. Python 3.11 tomllib documentation is a compatibility reference only; that branch was not executed. No TOML 1.1, JSON Schema, XSD, hostile XML safety or general standards-conformance claim is made. C17 N2176 and C++20 N4861 PDF retrieval failed; the C11 N1570 committee draft was accessible for core semantics unchanged in this exercised C17 subset. C++ living draft and Core Guidelines references support only the stated concepts; later APIs shown by current draft pages are excluded. Actual Apple Clang 21.0.0 C17/C++20 probes passed and reported libc++ 220106. Upstream status pages do not guarantee Apple compiler completeness. Sanitizer and runtime evidence applies only to these executed paths. Ruby API references are version 2.6.0 documentation for the 2.6 series; actual execution is 2.6.10p210, which is end of life. Perl references are pinned to 5.34.1, the actual installed interpreter. Core module versions are recorded in runtime evidence; no packages were downloaded. No Ruby 3 or newer Perl compatibility is claimed. The Ruby tmpdir HTML URL and Perl perlrun HTML page could not be retrieved; their official repository files at Ruby v2_6_10 and Perl v5.34.1 were read instead. Swift web pages required JavaScript; the official Swift book repository source was accessible. Current book content is limited here to exercised Swift 6 core features. GNU website manual requests timed out; the upstream 3.81 manual source mirror and installed make(1) were used. Swift compile/run and Make dependency tests apply only to this installed macOS arm64 environment; no new toolchain was installed. For awk and sed, POSIX Issue 8 web requests returned HTTP 403. Installed awk(1), sed(1) and re_format(7), plus accessible maintainer documentation, support the exercised subset. awk reports 20200816; the current upstream manual includes later --csv support that is explicitly excluded. sed is identified by macOS 27.0.1 and binary SHA-256, not an invented version. All new stream tests use LC_ALL=C and authored ASCII input; no GNU-tool or Unicode-grapheme compatibility is claimed. jq is the Apple jq-1.7.1-apple build, verified against the upstream 1.7 manual and installed jq(1). xsltproc reports libxslt 1.1.35 and libxml2 2.9.13. The accessible XSLT and XPath 1.0 specifications support only this introductory subset; later language versions are excluded. Current libxslt command documentation is checked against actual installed invocation. No DTD declaration, custom/external entity, document(), import/include, extension or untrusted source is exercised. The independent XPath registry entry stays planned. Predefined XML escapes and numeric character references are used. Installed --stringparam rejects values containing both quote styles. Tcl uses installed 8.5.9; accessible official web references are 8.5.19 series documentation, with differences bounded by actual examples. The proc web page timed out, so its installed manual was read. Expect 5.45 embeds Tcl 8.5.9; the installed official manual supports its options and process semantics. The historical Expect project points to a newer successor; no successor or modern Tcl feature is claimed. Only authored workspace fixtures are spawned; no network, sign-ins, secrets or live application control. Objective-C is pinned to Apple Clang 21.0.0 with ARC, C17 base syntax, macOS SDK 27.0 headers, system Foundation 6.9 (5027.0.69) and macOS 27.0.1 arm64. Apple language and string guides are archived; dated UI/network recipes and broad platform recommendations are excluded. Upstream Clang documents are checked against the locally exercised subset. Current JSONSerialization web content required JavaScript and its linked Markdown request failed; installed SDK NSJSONSerialization.h and NSData.h declarations/comments plus execution support the narrow parsing, error and no-overwrite claims. No JSON-schema, iOS, GNUstep, cross-platform, Objective-C++ or complete memory-safety claim is made.
MDN: Basic HTML syntax https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Structuring_content/Basic_HTML_syntax Checked 2026-10-25. Scope: Elements, attributes, nesting and document structure.
WHATWG HTML Living Standard https://html.spec.whatwg.org/multipage/ Checked 2026-10-25. Scope: HTML semantics and document structure; living standard.
MDN: Getting started with CSS https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Styling_basics/Getting_started Checked 2026-10-25. Scope: Selectors, declarations and classes.
MDN: Introduction to the CSS box model https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Box_model/Introduction Checked 2026-10-25. Scope: Content, padding, border and margin.
W3C: CSS Display Module Level 3 https://www.w3.org/TR/css-display-3/ Checked 2026-10-25. Scope: Block and inline layout; candidate recommendation draft, not a browser support promise.
MDN: JavaScript functions https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Functions Checked 2026-10-25. Scope: Parameters, return values and function scope.
MDN: Node.textContent https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent Checked 2026-10-25. Scope: Plain text DOM updates rather than markup insertion.
MDN: label element https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/label Checked 2026-10-25. Scope: Explicit form label association.
MDN: Window.localStorage https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage Checked 2026-10-25. Scope: file: persistence is not guaranteed and access can throw.
W3C: WCAG 2.2 https://www.w3.org/TR/WCAG22/ Checked 2026-10-25. Scope: Keyboard operation, labels, visible focus and text contrast. No conformance certification claimed.
MDN: Basic concepts of grid layout https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Grid_layout/Basic_concepts Checked 2026-10-25. Scope: Grid tracks, repeat(3, 1fr) and gap.
MDN: Using media queries https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Media_queries/Using Checked 2026-10-25. Scope: Inclusive min-width viewport queries.
MDN: Array.prototype.filter https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter Checked 2026-10-25. Scope: Selecting a matching subset without changing the source array.
MDN: Array.prototype.reduce https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce Checked 2026-10-25. Scope: Accumulation and an explicit initial value.
MDN: Number.isFinite https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isFinite Checked 2026-10-25. Scope: Finite-number checks without coercion.
Python 3.9 tutorial: Control flow https://docs.python.org/3.9/tutorial/controlflow.html Checked 2026-10-25. Scope: if, for, range, function definitions and return values.
Python 3.9 tutorial: Data structures https://docs.python.org/3.9/tutorial/datastructures.html Checked 2026-10-25. Scope: Lists, tuples, dictionaries, sets and comprehensions.
Python 3.9 tutorial: Input and output https://docs.python.org/3.9/tutorial/inputoutput.html Checked 2026-10-25. Scope: Explicit text encoding, context managers and formatted output.
Python 3.9 tutorial: Errors and exceptions https://docs.python.org/3.9/tutorial/errors.html Checked 2026-10-25. Scope: Specific exception handling and cleanup.
Python 3.9 tutorial: Modules https://docs.python.org/3.9/tutorial/modules.html Checked 2026-10-25. Scope: Module imports and the __name__ main guard.
Python 3.9 library: unittest https://docs.python.org/3.9/library/unittest.html Checked 2026-10-25. Scope: TestCase assertions and test runners.
Python Developer Guide: version status https://devguide.python.org/versions/ Checked 2026-10-25. Scope: Python 3.9 is no longer supported; the installed 3.9.6 runtime is a recorded local teaching environment, not a deployment recommendation.
Python 3.9 library: Built-in types https://docs.python.org/3.9/library/stdtypes.html Checked 2026-10-25. Scope: Boolean and integer relationship, dictionary insertion order and string casefold.
SQLite expressions https://www.sqlite.org/lang_expr.html Checked 2026-10-25. Scope: NULL, CASE, comparisons and named parameters.
SQLite command-line shell https://www.sqlite.org/cli.html Checked 2026-10-25. Scope: In-memory execution, safe mode, dot commands and the expression-evaluating .parameter command.
SQLite foreign keys https://www.sqlite.org/foreignkeys.html Checked 2026-10-25. Scope: Enable enforcement per connection before a transaction.
SQLite datatypes https://www.sqlite.org/datatype3.html Checked 2026-10-25. Scope: Dynamic typing and affinity; no cross-dialect type guarantee.
SQLite quirks https://www.sqlite.org/quirks.html Checked 2026-10-25. Scope: Differences from other SQL implementations.
SQLite aggregate functions https://www.sqlite.org/lang_aggfunc.html Checked 2026-10-25. Scope: COUNT, SUM and empty or NULL input.
SQLite WITH clause https://www.sqlite.org/lang_with.html Checked 2026-10-25. Scope: Ordinary statement-scoped common table expressions.
SQLite value binding API https://www.sqlite.org/c3ref/bind_blob.html Checked 2026-10-25. Scope: Bind literal values separately from statement structure; API discussion only, not an executed C example.
Installed macOS sh manual man:sh(1) Checked 2026-10-25. Scope: macOS sh selects an implementation; this host selects /bin/bash 3.2.57.
Installed macOS mktemp manual man:mktemp(1) Checked 2026-10-25. Scope: Create a unique directory using a template; platform utility, not a portable POSIX utility claim.
TypeScript: noEmitOnError https://www.typescriptlang.org/tsconfig/noEmitOnError.html Checked 2026-10-25. Scope: Suppress output on errors.
TypeScript: noUncheckedIndexedAccess https://www.typescriptlang.org/tsconfig/noUncheckedIndexedAccess.html Checked 2026-10-25. Scope: Unchecked indices include undefined.
TypeScript: exactOptionalPropertyTypes https://www.typescriptlang.org/tsconfig/exactOptionalPropertyTypes.html Checked 2026-10-25. Scope: Absent versus undefined fields.
Python 3.11: tomllib https://docs.python.org/3.11/library/tomllib.html Checked 2026-10-25. Scope: Available since 3.11; documentation only, not installed execution evidence.
WG14 N1570 C11 committee draft https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf Checked 2026-10-25. Scope: Core objects, arrays, functions, storage duration, formatted output, allocation and conversion semantics used in the C17 subset; not a C17 draft or full-conformance claim.
Clang compiler user manual https://clang.llvm.org/docs/UsersManual.html Checked 2026-10-25. Scope: Compiler driver, standard modes and diagnostics; upstream documentation is not an Apple feature guarantee.
Clang C implementation status https://clang.llvm.org/c_status.html Checked 2026-10-25. Scope: C mode support and known limits; actual examples pin Apple Clang C17.
Clang C++ implementation status https://clang.llvm.org/cxx_status.html Checked 2026-10-25. Scope: C++20 mode and partial feature coverage; actual subset tested locally.
libc++ C++20 implementation status https://libcxx.llvm.org/Status/Cxx20.html Checked 2026-10-25. Scope: Library feature status; Apple-shipped version verified locally.
C++ Core Guidelines https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines Checked 2026-10-25. Scope: Ownership, lifetimes and resource management guidance, not normative standard text.
C++ working draft: object lifetime https://eel.is/c++draft/basic.life Checked 2026-10-25. Scope: Living working draft; lifetime concepts only, not a C++20 publication.
C++ working draft: unique ownership https://eel.is/c++draft/unique.ptr Checked 2026-10-25. Scope: Living draft; elementary unique_ptr ownership and move semantics, excluding later additions.
C++ working draft: span https://eel.is/c++draft/views.span Checked 2026-10-25. Scope: Living draft; borrowing and length concepts; later span APIs excluded from C++20 exercises.
C++ working draft: optional https://eel.is/c++draft/optional Checked 2026-10-25. Scope: Living draft; engaged value and absence only; later APIs excluded.
Clang AddressSanitizer https://clang.llvm.org/docs/AddressSanitizer.html Checked 2026-10-25. Scope: Instrumented checking of some memory errors on executed paths; not safety proof.
Clang UndefinedBehaviorSanitizer https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html Checked 2026-10-25. Scope: Checks for selected undefined behavior; coverage is incomplete.
C++ working draft: from_chars https://eel.is/c++draft/charconv.from.chars Checked 2026-10-25. Scope: Living draft; integer error code, end-pointer and no-throw concepts available in the exercised C++20 subset. Later constexpr additions are not used.
Ruby 2.6.10 release and end of life https://www.ruby-lang.org/en/news/2022/04/12/ruby-2-6-10-released/ Checked 2026-10-25. Scope: Installed 2.6.10 is end of life; offline teaching only.
Ruby 2.6 control expressions https://docs.ruby-lang.org/en/2.6.0/syntax/control_expressions_rdoc.html Checked 2026-10-25. Scope: Truth values, branches, loops and blocks.
Perl 5.34.1 invocation https://raw.githubusercontent.com/Perl/perl5/v5.34.1/pod/perlrun.pod Checked 2026-10-25. Scope: Syntax checking may run compile-time code; not an arbitrary-code sandbox.
Perl 5.34.1 Test::More https://perldoc.perl.org/5.34.1/Test::More Checked 2026-10-25. Scope: Named executed tests and TAP plan.
Ruby 2.6 Encoding https://docs.ruby-lang.org/en/2.6.0/Encoding.html Checked 2026-10-25. Scope: ASCII-compatible encoding guard; valid encoding is separate from application syntax.
Swift book: The Basics https://raw.githubusercontent.com/swiftlang/swift-book/main/TSPL.docc/LanguageGuide/TheBasics.md Checked 2026-10-25. Scope: Types, constants and optionals.
Swift book: Collection Types https://raw.githubusercontent.com/swiftlang/swift-book/main/TSPL.docc/LanguageGuide/CollectionTypes.md Checked 2026-10-25. Scope: Array, set and dictionary semantics.
Swift book: Structures and Classes https://raw.githubusercontent.com/swiftlang/swift-book/main/TSPL.docc/LanguageGuide/ClassesAndStructures.md Checked 2026-10-25. Scope: Value versus reference semantics.
Swift book: Functions https://raw.githubusercontent.com/swiftlang/swift-book/main/TSPL.docc/LanguageGuide/Functions.md Checked 2026-10-25. Scope: Parameters, labels, return values and bounds-oriented function design.
Swift book: Strings and Characters https://raw.githubusercontent.com/swiftlang/swift-book/main/TSPL.docc/LanguageGuide/StringsAndCharacters.md Checked 2026-10-25. Scope: Character, Unicode representation and string indexing.
Swift book: Error Handling https://raw.githubusercontent.com/swiftlang/swift-book/main/TSPL.docc/LanguageGuide/ErrorHandling.md Checked 2026-10-25. Scope: Throws, try and recoverable errors.
GNU Make 3.81 manual source https://raw.githubusercontent.com/mirror/make/3.81/doc/make.texi Checked 2026-10-25. Scope: Pinned upstream manual: rules, variables, recipes, automatic variables, order-only prerequisites and failure behavior.
Installed GNU Make command manual man:make(1) Checked 2026-10-25. Scope: Installed command flags; read with man make on this tested Mac.
Swift book: Control Flow https://raw.githubusercontent.com/swiftlang/swift-book/main/TSPL.docc/LanguageGuide/ControlFlow.md Checked 2026-10-25. Scope: Branches, switch exhaustiveness and loops.
Swift book: Automatic Reference Counting https://raw.githubusercontent.com/swiftlang/swift-book/main/TSPL.docc/LanguageGuide/AutomaticReferenceCounting.md Checked 2026-10-25. Scope: Class instance lifetime and reference ownership; cycles are outside the exercised examples.
One True Awk maintainer manual https://raw.githubusercontent.com/onetrueawk/awk/master/awk.1 Checked 2026-10-26. Scope: Core semantics only; newer --csv support is excluded from this installed version.
Installed macOS sed manual man:sed(1) Checked 2026-10-26. Scope: Editing cycle, addresses, substitution, hold space, branching and command-line flags.
Apple sed manual source https://raw.githubusercontent.com/apple-oss-distributions/text_cmds/main/sed/sed.1 Checked 2026-10-26. Scope: Apple-maintained documentation; local binary and execution evidence remain authoritative.
libxslt xsltproc manual https://gnome.pages.gitlab.gnome.org/libxslt/xsltproc.html Checked 2026-10-26. Scope: Command options, safety limits and separation of stylesheet/application errors.
Installed xsltproc manual man:xsltproc(1) Checked 2026-10-26. Scope: Installed libxslt 1.1.35 with libxml2 2.9.13; only local authored inputs and trusted stylesheets.
Tcl 8.5 command syntax https://www.tcl-lang.org/man/tcl8.5/TclCmd/Tcl.htm Checked 2026-10-26. Scope: Command words, substitution and grouping; web manual 8.5.19, tested interpreter 8.5.9.
Tcl 8.5 list https://www.tcl-lang.org/man/tcl8.5/TclCmd/list.htm Checked 2026-10-26. Scope: Structured list construction, not script interpolation.
Tcl 8.5 expressions https://www.tcl-lang.org/man/tcl8.5/TclCmd/expr.htm Checked 2026-10-26. Scope: Braced expressions, numeric forms and comparison.
Expect project and successor notice https://core.tcl-lang.org/expect/index Checked 2026-10-26. Scope: Tcl extension role and old project notice; modern successor features excluded.
Apple: About Objective-C https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/Introduction/Introduction.html Checked 2026-10-26. Scope: Language and framework distinction. Archived guide; historical UI and network recipes excluded.
Apple: Defining Classes https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/DefiningClasses/DefiningClasses.html Checked 2026-10-26. Scope: Interfaces, implementations and method declarations. Archived guide; historical UI and network recipes excluded.
Apple: Working with Objects https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/WorkingwithObjects/WorkingwithObjects.html Checked 2026-10-26. Scope: Messages, initialization and nil. Archived guide; historical UI and network recipes excluded.
Apple: Encapsulating Data https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/EncapsulatingData/EncapsulatingData.html Checked 2026-10-26. Scope: Property copying, ARC relationships and weak references. Archived guide; historical UI and network recipes excluded.
Apple: Values and Collections https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/FoundationTypesandCollections/FoundationTypesandCollections.html Checked 2026-10-26. Scope: Boxing, object collections and absence. Archived guide; historical UI and network recipes excluded.
Apple: Working with Protocols https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/WorkingwithProtocols/WorkingwithProtocols.html Checked 2026-10-26. Scope: Declared protocol contracts. Archived guide; historical UI and network recipes excluded.
Apple: Customizing Existing Classes https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/CustomizingExistingClasses/CustomizingExistingClasses.html Checked 2026-10-26. Scope: Class extensions and category method naming. Archived guide; historical UI and network recipes excluded.
Apple: Working with Blocks https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/WorkingwithBlocks/WorkingwithBlocks.html Checked 2026-10-26. Scope: Captures, __block and ownership cycles. Archived guide; historical UI and network recipes excluded.
Apple: Dealing with Errors https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/ErrorHandling/ErrorHandling.html Checked 2026-10-26. Scope: Return values and NSError conventions. Archived guide; historical UI and network recipes excluded.
Clang: Objective-C ARC https://clang.llvm.org/docs/AutomaticReferenceCounting.html Checked 2026-10-26. Scope: ARC flags and ownership semantics; Apple compiler subset is tested locally.
Clang: Objective-C Literals https://clang.llvm.org/docs/ObjectiveCLiterals.html Checked 2026-10-26. Scope: Boxing and collection literal semantics; Apple compiler subset is tested locally.
Apple: Characters and Grapheme Clusters https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/Strings/Articles/stringsClusters.html Checked 2026-10-26. Scope: Archived NSString guide: UTF-16 units, composed sequences and range boundaries.